package models.core.catalog;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import models.BeanDtoImpl;

/**
 * Product entity
 */

public class ProductDto extends BeanDtoImpl implements Serializable {

	private static final long serialVersionUID = 4893994421200748601L;
	private String shortName;
	private String longName;
	private String description;
	private String type;
	private Date creationDate;
	//private Set<UserCommentDto> userComments = new HashSet<UserCommentDto>(0);
	private Set<SkuDtoInfo> skus = new HashSet<SkuDtoInfo>(0);
	private ContentDto content;
	private Set<ProductRatingDto> productRatings = new HashSet<ProductRatingDto>(0);
	private Set<ProductCommentDto> productComments = new HashSet<ProductCommentDto>(0);
	private Long bestPrice;

	public ProductDto() {
	}



	public String getShortName() {
		return this.shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public String getLongName() {
		return this.longName;
	}

	public void setLongName(String longName) {
		this.longName = longName;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Date getCreationDate() {
		return this.creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	/*public Set<UserCommentDto> getUserComments() {
		return userComments;
	}

	public void setUserComments(Set<UserCommentDto> userComments) {
		this.userComments = userComments;
	}*/

	public Set<SkuDtoInfo> getSkus() {
		return skus;
	}

	public void setSkus(Set<SkuDtoInfo> skus) {
		this.skus = skus;
	}

	public ContentDto getContent() {
		return content;
	}

	public void setContent(ContentDto content) {
		this.content = content;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Set<ProductRatingDto> getProductRatings() {
		return productRatings;
	}

	public void setProductRatings(Set<ProductRatingDto> productRatings) {
		this.productRatings = productRatings;
	}

	public Set<ProductCommentDto> getProductComments() {
		return productComments;
	}

	public void setProductComments(Set<ProductCommentDto> productComments) {
		this.productComments = productComments;
	}



	public Long getBestPrice() {
		return bestPrice;
	}



	public void setBestPrice(Long bestPrice) {
		this.bestPrice = bestPrice;
	}
}
